<input type="button" value="导出"  onclick="a()"/>
<input type="button" value="测试"  onclick="c()"/>

<script type="text/javascript" src="//code.jquery.com/jquery-1.7.0.min.js"></script>
<script>
    var b  = {};
    b.key=1;

function a() {
    location.href="/grule-manager/export/excel?key=1";
}

</script>